/* 基础样式 */
.fullscreenContainer {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 171px);
    overflow-y: auto;
    background-color: #FCFBF8;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23704214' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.fullscreenContent {
    flex: 1;
    padding: 2rem;
    max-width: 80rem;
    margin: 0 auto;
    width: 100%;
}

.flexContainer {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .flexContainer {
        flex-direction: row;
    }
}

.leftColumn {
    width: 100%;
}

@media (min-width: 1024px) {
    .leftColumn {
        width: 66.666%;
    }
}

.rightColumn {
    width: 100%;
    display: flex;
    flex-direction: column;
}

@media (min-width: 1024px) {
    .rightColumn {
        width: 33.333%;
    }
}

.cardStyle {
    background-color: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
    width: 100%;
    margin-bottom: 2rem;
}

.cardStyle:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* 文本样式 */
.textPrimary {
    color: #382110;
}

.textSecondary {
    color: #4A6741;
}

.textGray {
    color: #6b7280;
}

.textRed {
    color: #ef4444;
}

.fontMedium {
    font-weight: 500;
}

.fontSemibold {
    font-weight: 600;
}

.fontBold {
    font-weight: 700;
}

.textXl {
    font-size: 1.25rem;
}

.textLg {
    font-size: 1.125rem;
}

.textSm {
    font-size: 0.875rem;
}

.textXs {
    font-size: 0.75rem;
}

/* 间距和布局 */
.mb2 {
    margin-bottom: 0.5rem;
}

.mb3 {
    margin-bottom: 0.75rem;
}

.mb4 {
    margin-bottom: 1rem;
}

.mb5 {
    margin-bottom: 1.25rem;
}

.mb6 {
    margin-bottom: 1.5rem;
}

.mt15 {
    margin-top: 1.5rem;
}

.mr2 {
    margin-right: 0.5rem;
}

.spaceContainer {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Tab 样式 */
.tabsContainer {
    margin-bottom: 1.5rem;
}

.tabs {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
    overflow-x: auto;
    scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
    display: none;
}

.tab {
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    font-weight: 500;
    white-space: nowrap;
    color: #6b7280;
}

.tab:hover {
    color: #4A6741;
    background-color: #f9fafb;
}

.tab.active {
    border-bottom-color: #4A6741;
    color: #4A6741;
}

.tabContent {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tabContentActive {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* 搜索框样式 */
.searchContainer {
    position: relative;
    margin-bottom: 1.25rem;
}

.searchInput {
    padding-left: 2.5rem;
    padding-right: 1rem;
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    outline: none;
}

.searchInput:focus {
    box-shadow: 0 0 0 2px rgba(74, 103, 65, 0.3);
    border-color: #4A6741;
}

.searchIcon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

/* 项目卡片样式 */
.projectContainer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .projectContainer {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .projectContainer {
        grid-template-columns: repeat(3, 1fr);
    }
}

.projectCard {
    background-color: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    padding: 1rem;
    cursor: pointer;
    position: relative;
}

.projectCard:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.projectCard.selected {
    border: 2px solid #4A6741;
    background-color: #E8F5E9;
}

.projectImage {
    width: 100%;
    height: 120px;
    border-radius: 0.5rem;
    background-size: cover;
    background-position: center;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.projectCard:hover .projectImage {
    transform: scale(1.03);
}

.selectedIndicator {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: #4A6741;
    font-size: 1.25rem;
    display: none;
}

.projectCard.selected .selectedIndicator {
    display: block;
}

.projectName {
    font-weight: 500;
    font-size: 1.125rem;
}

.projectSpecs {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.375rem;
}

.selectedPrice {
    color: #4A6741;
    font-weight: 500;
    margin-top: 0.75rem;
}

/* 订单和预约列表样式 */
.orderList {
    max-height: 500px;
    overflow-y: auto;
}

.orderItem {
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.orderItem:last-child {
    border-bottom: none;
}

.orderItem:hover {
    background-color: #f9fafb;
}

.orderItem.active {
    background-color: #E8F5E9;
}

.orderHeader {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.orderClient {
    font-weight: 500;
}

.orderTime {
    font-size: 0.875rem;
    color: #6b7280;
}

.orderProjects {
    font-size: 0.875rem;
    color: #4b5563;
    margin-bottom: 0.5rem;
}

.orderTotal {
    font-weight: 500;
    color: #4A6741;
}

.flexEnd {
    display: flex;
    justify-content: flex-end;
}

.flexBetween {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tag {
    font-size: 0.875rem;
    background-color: #f3f4f6;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    margin-right: 0.5rem;
}

/* 表单元素样式 */
.inputField {
    width: 100%;
    padding: 0.625rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    outline: none;
    font-size: 1rem;
}

.inputField:focus {
    box-shadow: 0 0 0 2px rgba(74, 103, 65, 0.3);
    border-color: #4A6741;
}

.label {
    display: block;
    font-size: 0.875rem;
    color: #4b5563;
    margin-bottom: 0.375rem;
}

.required {
    color: #ef4444;
}

.selectField {
    width: 100%;
    padding: 0.625rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    outline: none;
    background-color: white;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    font-size: 1rem;
}

.selectField:focus {
    box-shadow: 0 0 0 2px rgba(74, 103, 65, 0.3);
    border-color: #4A6741;
}

/* 已选项目样式 */
.selectedItemsContainer {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* 美化滚动条 */
.selectedItemsContainer::-webkit-scrollbar {
    width: 6px;
}

.selectedItemsContainer::-webkit-scrollbar-thumb {
    background-color: #d1d5db;
    border-radius: 3px;
}

.selectedItemsContainer::-webkit-scrollbar-track {
    background: #f3f4f6;
}

.selectedItem {
    padding: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.selectedItem:last-child {
    border-bottom: none;
}

.selectedItemInfo {
    flex: 1;
}

.selectedItemName {
    font-weight: 500;
}

.selectedItemSpec {
    font-size: 0.875rem;
    color: #6b7280;
}

.selectedItemPrice {
    font-weight: 500;
    color: #4A6741;
    margin-left: 1rem;
}

.removeItem {
    color: #ef4444;
    cursor: pointer;
    margin-left: 0.5rem;
    transition: color 0.2s ease;
}

.removeItem:hover {
    color: #dc2626;
}

.emptySelectedItems {
    text-align: center;
    color: #6b7280;
    padding: 2rem 0;
}

/* 支付方式样式 */
.paymentMethodsGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.paymentMethod {
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.paymentMethod.selected {
    border-color: #4A6741;
    background-color: #E8F5E9;
}

.paymentMethod:hover {
    border-color: rgba(74, 103, 65, 0.5);
    background-color: #f9fafb;
}

.paymentIcon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #4A6741;
}

.paymentInfo {
    width: 100%;
}

.paymentName {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.paymentDesc {
    font-size: 0.75rem;
    color: #6b7280;
}

.paymentCheckmark {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    color: #4A6741;
    font-size: 1.25rem;
}

.hidden {
    display: none;
}

/* 金额计算区域 */
.amountSummary {
    background-color: #f9fafb;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1.5rem;
}

.amountRow {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
}

.amountRow.total {
    font-weight: 600;
    font-size: 1.125rem;
    color: #4A6741;
    border-top: 1px solid #e5e7eb;
    padding-top: 0.75rem;
    margin-top: 0.75rem;
}

/* 按钮样式 */
.btnPrimary {
    background-color: #4A6741;
    color: white;
    border: none;
    border-radius: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btnPrimary:hover {
    background-color: #3d5435;
}

.btnSecondary {
    background-color: #f3f4f6;
    color: #4b5563;
    border: none;
    border-radius: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btnSecondary:hover {
    background-color: #e5e7eb;
}

.btnTertiary {
    background-color: #e0f2fe;
    color: #0284c7;
    border: none;
    border-radius: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btnTertiary:hover {
    background-color: #bae6fd;
}

/* 操作按钮容器 */
.actionButtonsContainer {
    margin-top: auto;
}

.actionButtons {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* 弹窗样式 */
.modalBackdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modalContent {
    background-color: white;
    border-radius: 0.75rem;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    animation: slideIn 0.3s ease;
}

.modalTitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: #382110;
    margin-bottom: 1.25rem;
}

.specOptions {
    margin-bottom: 1.5rem;
}

.specOption {
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0.75rem;
}

.specOption:hover {
    border-color: rgba(74, 103, 65, 0.5);
    background-color: #f9fafb;
}

.specName {
    font-weight: 500;
}

.specPrice {
    color: #4A6741;
    margin-top: 0.25rem;
}

/* 无结果提示 */
.noResults {
    text-align: center;
    padding: 2.5rem 0;
    color: #6b7280;
}

/* 标题样式 */
.orderTitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: #382110;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.sectionTitle {
    font-weight: 600;
    color: #382110;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

/* 动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}